/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bitcar.common.constvalues;

/**
 *
 * @author shd
 */
public class ConstValues {

    public static String SESSION_USERKEY = "user";
    public static String COMMONEXCEPTION_KEY = "exception";

    /**
     * 一个事情的当前处理状态包括的顺序为
     * 开始、进行中，反馈，结束，失败，冻结
     */
    public enum Status {
        start("lightskyBlue","开始"),progress("orange","处理中"),feedback("yellow","反馈"),
        over("green","结束"),failed("red","失败"),frozen("gray","冻结");
        Status(String color,String zhcnname){
            this.color=color;
            this.zhcnName=zhcnname;
        }
        
         private final String color;
         private final String zhcnName;
         public String getColor(){
             return this.color;
         }
         
         public String getZhcnName(){
             return this.zhcnName;
         }
    };
}
